package org.ands.json;

public class JsonHelperFromUri extends JsonHelper {
	
	/**
	 * Instantiates a new json helper.
	 *
	 * @param uri the uri
	 * @throws Exception the exception
	 */
	public JsonHelperFromUri(final String uri) throws Exception {
		
		if((uri == null) || (uri.isEmpty())){
			throw new Exception("Requires valid uri");
		}

		updateContent(JsonHelper.contentFromUri(uri));
	}

}
